<template>
  <div class="subtitle">
    <span></span>
    {{ props.title }}
  </div>
</template>

<script setup>
const props = defineProps({
  title: String,
});
</script>

<style lang="scss" scoped>
.subtitle {
  width: 100%;
  height:30px;
  background: #eee;
  font-weight: bold;
  border-radius: 1px;
  display: flex;
  align-items: center;
  span {
    display: inline-block;
    height: 14px;
    border-left: 2px solid #111;
    margin-right: 8px;
  }
}
</style>